package cn.com.ustudy.course.core.model.entity;

import cn.melonlib.cores.commons.model.support.number_id.MelonLibLongIdEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@ModelComment("基本数据类型测试")
public class ScalarEntity extends MelonLibLongIdEntity {

    @ModelComment("代码")
    private String code;

    @ModelComment("名称")
    private String name;

    @ModelComment("年龄")
    private Integer age;

    @ModelComment("是否删除")
    private Boolean removed;

    @ModelComment("分数")
    private Double score;

    @ModelComment("创建时间")
    private Long createDateTime;

}
